package org.spring.springboot.app.adv.advexam.dao;

import org.apache.ibatis.annotations.Param;
import org.spring.springboot.app.adv.advexam.domain.po.AdvExamPO;
import org.spring.springboot.app.adv.advexam.domain.vo.AdvExamQueryVO;
import org.spring.springboot.app.adv.advexam.domain.vo.AdvExamSearchVO;

import java.util.List;

public interface AdvExamDao {
    int deleteByPrimaryKey(String id);

    int insert(AdvExamPO record);

    int insertSelective(AdvExamPO record);

    AdvExamPO selectByPrimaryKey(String id);

    int updateByPrimaryKeySelective(AdvExamPO record);

    int updateByPrimaryKey(AdvExamPO record);

    List<AdvExamQueryVO> findPageWithAdv(AdvExamSearchVO searchVO, @Param("pageNum") int pageNum, @Param("pageSize") int pageSize);

    AdvExamQueryVO findWithAdv(String id);
}